From: Takashi Iwai Date: Tue, 23 Aug 2005 17:01:38 +0000 (+0200) Subject: [ALSA] vxpocket - Fix wrong index assignment X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~50572^2~14 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=adf111e6ff1674b81cae3ff7cdd5a5d1edf003f0;p=linux-4.9.git [ALSA] vxpocket - Fix wrong index assignment Digigram VX Pocket driver Fixed the wrong index number assignment. Signed-off-by: Takashi Iwai --- diff --git a/sound/pcmcia/vx/vxpocket.c b/sound/pcmcia/vx/vxpocket.c index fcb952f94ef8..de5bb9c26b77 100644 --- a/sound/pcmcia/vx/vxpocket.c +++ b/sound/pcmcia/vx/vxpocket.c @@ -407,7 +407,7 @@ static dev_link_t *vxpocket_attach(void) return NULL; } - vxp->index = index[i]; + vxp->index = i; card_alloc |= 1 << i; /* Chain drivers */